package cn.sh.tools.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author shihao
 * @description 邮件
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "邮件模型")
public class MailDto {

    /**
     * 收件人
     */
    @ApiModelProperty(value = "收件人", position = 0)
    private String[] tos;

    /**
     * 抄送人
     */
    @ApiModelProperty(value = "抄送人", position = 1)
    private String[] ccs;

    /**
     * 发送主题
     */
    @ApiModelProperty(value = "发送主题", position = 2)
    private String subject;

    /**
     * 发送内容
     */
    @ApiModelProperty(value = "发送内容", position = 3)
    private String text;

}
